package com.woniuxy.entity;
/* *
@author 张鹏
@create 2021-11-11 16:18
 用于封装核心企业为上下游企业担保记录的实体类
*/

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class EnterpriseGuarantee {

    private int id; //记录表主键
    private EnterpriseCredit enterpriseCredit; //核心企业授信情况
    private BusinessInfo guaranteedEnterprise;   //担保对象
    private int guaranteeAmount;  //担保总金额
    private int guaranteeUsedAmount; //已使用担保金额
    private int guaranteeBalance; //担保余额=担保总金额-已使用担保金额
    private Date guaranteeDeadline; //担保截至日期

}
